from fastapi import APIRouter
from app.api.v1.endpoints import auth, customers, calculator, contracts, projects, files, statistics, configs, plans, visitors

api_router = APIRouter()

api_router.include_router(auth.router, prefix="/auth", tags=["认证"])
api_router.include_router(customers.router, prefix="/customers", tags=["客户管理"])
api_router.include_router(calculator.router, prefix="/calculator", tags=["造价计算"])
api_router.include_router(contracts.router, prefix="/contracts", tags=["合同管理"])
api_router.include_router(projects.router, prefix="/projects", tags=["项目管理"])
api_router.include_router(files.router, prefix="/files", tags=["文件管理"])
api_router.include_router(statistics.router, prefix="/statistics", tags=["统计数据"])
api_router.include_router(configs.router, prefix="/configs", tags=["系统配置"])
api_router.include_router(plans.router, prefix="/plans", tags=["方案管理"])
api_router.include_router(visitors.router, prefix="/visitors", tags=["访客统计"])

